/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package 解析.node.charproperty;

/**
 *
 * @author yanxi
 */
public class SingleU extends CharProperty {

    public final int lower;

    public SingleU(int lower) {
        this.lower = lower; 
    }
    @Override
    public boolean isSatisfiedBy (int ch) {
        return lower == ch || lower == Character.toLowerCase(Character.toUpperCase(ch));
    } 
}
